using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;

namespace ERP.ProductionManage.Dtos
{
    /// <summary>
    /// 生产退料 DTO
    /// </summary>
    public class ProductionReturnDto : EntityDto<int>
    {
        /// <summary>
        /// 退料单编号
        /// </summary>
        public string ReturnCode { get; set; }

        /// <summary>
        /// 退料单名称
        /// </summary>
        public string ReturnName { get; set; }

        /// <summary>
        /// 生产工单
        /// </summary>
        public string WorkOrder { get; set; }

        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WarehouseId { get; set; }

        /// <summary>
        /// 接收仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 退料日期
        /// </summary>
        public DateTime ReturnDate { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 状态文本
        /// </summary>
        public string StatusText { get; set; }

        /// <summary>
        /// 退料明细列表
        /// </summary>
        public List<ProductionReturnDetailDto> Details { get; set; } = new List<ProductionReturnDetailDto>();
    }
} 